﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using devtm.Config;

namespace devtm.Configuration.Models
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Interface, Inherited = true, AllowMultiple = true)]
    public sealed class CustomDesignerTypeAttribute : CustomDesignerAttribute
    {


        // This is a positional argument
        public CustomDesignerTypeAttribute(Type filter)
            : base(ConfigConstants.Design.TypeDesignerParam.ToString())
        {
            this.Filter = filter;
        }

        /// <summary>
        /// Gets or sets the filter.
        /// </summary>
        /// <value>The filter.</value>
        public Type Filter { get; set; }


    }
}
